home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / util / screensa / afterdar / 3dbounci.cpt / 3D Bouncing Ball ƒ / 3DBouncingBall READ ME! next >
Encoding:
Text File  |  1992-06-19  |  1.8 KB  |  30 lines

  1. 3DBouncingBall After Dark 2.0 Module
  2. written by Daniel C. Stegman, Exodus Software
  3. @1992 Exodus Software, All Rights Reserved.
  4.  
  5. After Dark Software
  6. ⌐  1989, 1990 Berkeley Systems, Inc.
  7. All Rights Reserved.
  8.  
  9. This hack was written to demonstrate how 3D graphics could be done simply.  It started out as the planets of our solar system rotating around the sun, but I was using real numbers instead of fixed then, and eventually abandoned that project.  I then changed the 3D calls to take advantage of fixed numbers for speed, and 3DBouncingBall was born.
  10.  
  11. The 3D calls involve using the monitors width and height to declare what size the 3D onscreen box is.  It uses the screen width to define the box width and depth, and the screen height for it's height.  It does work on multiple monitors, but only displays the box on the menu monitor.  You use the 3D to 2D calls to show where it is on the screen.
  12.  
  13. You can have anywhere from 1 to 5 balls, with varying gravity (zero included) and speed.  If you have a color or grayscale monitor, it takes advantage of that by using gradient colors instead of patterns.  The shadows were extra, and you can turn them off if you have a slower machine, or if you have a lot of background tasks going on.
  14.  
  15. Special thanks go to Mac Hackers Christian Russ, Stan Logan and Erik Walter.
  16.  
  17. NOTE: In order to compile this module, you need several files from the After Dark 2.0 Programmer╒s Files.  These files are:
  18.    Generic Module.p
  19.    GraphicsModuleTypes.p
  20.    GraphicsModule_main.p
  21.    Sounds.p
  22.  
  23. I did modify the GenericModule.proj.rsrc file with some of my own stuff, so I assume that it is OK to include it.
  24.  
  25. Dan Stegman
  26. Exodus Software
  27. 800 Compton Road, Suite 9240
  28. Cincinnati, Ohio 45231
  29. (513) 522-0011
  30. our Applelink account may be changing in the future, from D0814 to EXODUS.  Call me if you have problems linking us.